package com.jxdinfo.hussar.cloud.module.example.lift.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jxdinfo.hussar.cloud.module.example.lift.dto.LiftDto;
import com.jxdinfo.hussar.cloud.module.example.lift.dto.LiftSearchDto;
import com.jxdinfo.hussar.cloud.module.example.lift.dto.LiftTodayRealDataDto;
import com.jxdinfo.hussar.cloud.module.example.lift.model.Lift;
import com.jxdinfo.hussar.platform.core.base.apiresult.ApiResponse;

import java.util.List;
import java.util.Map;

/**
 * 升降机表(Lift)表服务接口
 *
 * @author makejava
 * @since 2023-10-23 17:34:01
 */
public interface LiftService extends IService<Lift> {

    List<Lift> findList(LiftSearchDto liftSearchDto);

    Map<String, Integer> findLiftAlarmCount(LiftSearchDto liftSearchDto);

    LiftTodayRealDataDto findLiftRealData(String liftId, String s);

    Page<Lift> findPage(LiftSearchDto liftSearchDto);

    ApiResponse insert(LiftDto lift);

    ApiResponse updateLift(LiftDto lift);

    ApiResponse deleteById(LiftDto liftDto);

    ApiResponse updateNotice(LiftDto liftDto);
}

